using System.Data;
using VanTaiData;
using VanTaiProperty;
namespace VanTaiBLL
{
    public class clsTMContractBusiness
    {
        public static clsTMContractController cls = new clsTMContractController();

        #region[Get-Data]
        public DataTable BindGirdTMContract()
        {
            return cls.BindGirdTMContract();
        }
        public DataTable BindGirdTMContract_Detail_Edit(int id)
        {
            return cls.BindGirdTMContract_Detail_Edit(id);
        }
        #endregion

        #region[Insert-Update-Delete]
        public static bool InsertTMContract(clsTMContractProperty obj)
        {
            return cls.InsertTMContract(obj);
        }
        public static bool UpdateTMContract(clsTMContractProperty obj)
        {
            return cls.UpdateTMContract(obj);
        }
        public static bool DeleteTMContract(int id)
        {
            return cls.DeleteTMContract(id);
        }
        #endregion

        #region[Search-Fillter]
        public DataTable Search(string keywrods)
        {
            return cls.Search(keywrods);
        }
        public DataTable TMContract_Fillter_Date(string DateBegin, string EndBegin)
        {
            return cls.TMContract_Fillter_Date(DateBegin, EndBegin);
        }
        #endregion
    }
}